package com.example.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.entity.domain.Hierarchy;
import com.example.entity.dto.BaseDTO;

/**
 * @Author: zhuxiaokang
 * @CreateTime: 2025-05-07
 * @Description: 分级
 * @Version: 1.0
 */

public interface HierarchicService {

    Page<Hierarchy> list(BaseDTO baseDTO);

    Integer current();

    Boolean add(Hierarchy hierarchy);

    Boolean delete(Integer id);

    Boolean update(Hierarchy hierarchy);
}
